package dome1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: DickYang
 * Date: 2023-05-09
 * Time: 10:31
 */
public class KeyBoard implements IUSB{
    @Override
    public void openDevice() {
        System.out.println("打开键盘服务!");
    }

    @Override
    public void closeDevice() {
        System.out.println("关闭键盘服务!");
    }

    public void input() {
        System.out.println("敲击键盘!");
    }
}
